﻿using System;
using System.Data;
using KPIS.GERP.GFMS.MODEL;
using System.Collections.Generic;

namespace KPIS.GERP.GFMS.IDAL
{
    public interface IDAL_FIM_Payments_Payinpack
    {
        M_FIM_Payments_Payinpack GetInfoByPaySeq(int pay_seq);
        IList<M_FIM_Payments_Payinpack> GetFull(Nullable<int> bgm_source_seq
            , Nullable<int> bgm_year, Nullable<int> work_area_seq);
        //IList<M_FIM_Payments_Payinpack> GetList(Nullable<int> bgm_source_seq
        //    , Nullable<int> bgm_year, Nullable<int> work_area_seq);
        //M_FIM_Payments_Payinpack GetInfo(int seq);
        ////M_FIM_Payments_Payinpack GetInfoFromMoneyReqSeq(int money_req_seq);
        ////IList<M_FIM_Payments> GetListFromPetition(int petition_seq);
        //////string SelectRecentInsertedRoleSeq();

        string Insert(M_FIM_Payments_Payinpack info);
        bool InsertList(IList<M_FIM_Payments_Payinpack> lst);
        bool UpdateList(IList<M_FIM_Payments_Payinpack> lst);
        void Update(M_FIM_Payments_Payinpack info);
        void Delete(M_FIM_Payments_Payinpack info);
        void Delete2(M_FIM_Payments_Payinpack info);
        //void ChangeStatus(M_FIM_Payments_Payinpack info);
        //void UpdateReceipt(M_FIM_Payments_Payinpack info);

        //DataTable Report_SumUpPayment(Nullable<DateTime> date);
        ///// <summary>
        ///// /////////////////////
        ///// </summary>
        ///// <param name="bgm_source_seq"></param>
        ///// <param name="work_area_seq"></param>
        ///// <param name="bgm_year"></param>
        ///// <param name="pay_seq"></param>
        ///// <returns></returns>
        ////IList<M_FIM_Payments_Payinpack> GetNotRealPayment(Nullable<int> bgm_source_seq, Nullable<int> work_area_seq
        ////    , Nullable<int> bgm_year, Nullable<int> method_seq);
    }
}
